package cn.com.dhcc.turbo.entity.monitor;

import java.util.Date;

import cn.com.dhcc.app.core.annotation.SiColumn;
import cn.com.dhcc.app.core.annotation.SiTable;
import cn.com.dhcc.app.core.base.ModuleFeatureBean;
import cn.com.dhcc.turbo.service.monitor.QUOTA;
/**
 * 指标基本信息
 * @author qiao
 * @2014-6-4 @下午2:53:15
 */
@SiTable(name="turbo_monitor_quota ")
public class Quota extends ModuleFeatureBean{

	@SiColumn(isId=true)
	private String id;//id	char(32)			
	private String name;//name	varchar2(1000)			指标名称
	@SiColumn(name="quota_group")
	private String quotaGroup;//quota_group	varchar2(255)			指标分组 1 节点监控 2 通道监控 3 流量监控 4 结构化交换监控5 非结构化交换监控
	@SiColumn(name="rule_for_select")
	private String ruleForSelect;//rule_for_select	varchar2(1000)			用于选择的使用规则选项，逗号隔开
	@SiColumn(name="value_sug1")
	private String valueSug1;//value_sug1	varchar2(255)	y		建议值1
	@SiColumn(name="value_sug2")
	private String valueSug2;//value_sug2	varchar2(255)	y		建议值2
	@SiColumn(name="default_value")
	private String defaultValue;//指标默认显示值，当指标没有收集到实际值时，显示此值并根据此值坐计算
    /**
	 * {@link QUOTA#getCode()}
	 */
    private String code;//code	varchar2(255)	y		指标编码
	private String alterAble;//alterable	char(1)	y		是否可告警的，不能告警的不要进行阈值配置0 否1是
	private String modifiAble;//	char(1)	y		是偶可配置0 否1是
	@SiColumn(name="rule_sug")
	private Integer ruleSug;//rule_sug	number(6)	y		建议的规则
	@SiColumn(name="alter_template_sug")
	private String alterTemplatSug;//alter_template_sug	varchar2(1000)	y		默认的告警模板
	private String owner;//owner	char(1)	y	1	指标归属：1节点2系统
	private Date mtime;//mtime	date		sysdate	修改时间
	private String remark;//remark	varchar2(1000)	y		备注
	@SiColumn(name="LAST_ALERT_TIME")
	private Date lastAlertTime;//最后告警时间
	@SiColumn(name="alert_handler_times")
	private Integer alertHandlerTimes;//'自告警发生以来，已经进行告警处理的次数。,当告警已经被处理了会被设置为0';
	
	public String getCode() {
		return code;
	}

	public void setCode(String code) {
		this.code = code;
	}

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getQuotaGroup() {
		return quotaGroup;
	}

	public void setQuotaGroup(String quotaGroup) {
		this.quotaGroup = quotaGroup;
	}

	public String getRuleForSelect() {
		return ruleForSelect;
	}

	public void setRuleForSelect(String ruleForSelect) {
		this.ruleForSelect = ruleForSelect;
	}

	public String getValueSug1() {
		return valueSug1;
	}

	public void setValueSug1(String valueSug1) {
		this.valueSug1 = valueSug1;
	}

	public String getValueSug2() {
		return valueSug2;
	}

	public void setValueSug2(String valueSug2) {
		this.valueSug2 = valueSug2;
	}

	public String getAlterAble() {
		return alterAble;
	}

	public void setAlterAble(String alterAble) {
		this.alterAble = alterAble;
	}

	public String getModifiAble() {
		return modifiAble;
	}

	public void setModifiAble(String modifiAble) {
		this.modifiAble = modifiAble;
	}

	public Integer getRuleSug() {
		return ruleSug;
	}

	public void setRuleSug(Integer ruleSug) {
		this.ruleSug = ruleSug;
	}

	public String getAlterTemplatSug() {
		return alterTemplatSug;
	}

	public void setAlterTemplatSug(String alterTemplatSug) {
		this.alterTemplatSug = alterTemplatSug;
	}

	public String getOwner() {
		return owner;
	}

	public void setOwner(String owner) {
		this.owner = owner;
	}

	public Date getMtime() {
		return mtime;
	}

	public void setMtime(Date mtime) {
		this.mtime = mtime;
	}

	public String getRemark() {
		return remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}

	public Date getLastAlertTime() {
		return lastAlertTime;
	}

	public void setLastAlertTime(Date lastAlertTime) {
		this.lastAlertTime = lastAlertTime;
	}

	public Integer getAlertHandlerTimes() {
		return alertHandlerTimes;
	}

	public void setAlertHandlerTimes(Integer alertHandlerTimes) {
		this.alertHandlerTimes = alertHandlerTimes;
	}

	public String getDefaultValue() {
		return defaultValue;
	}

	public void setDefaultValue(String defaultValue) {
		this.defaultValue = defaultValue;
	}

	
}
